<?php
include_once __DIR__.'/config/env_config.php';
include_once __DIR__.'/lib/Helper.php';

$saTicketDataFile = __DIR__."/data/special_attention_tickets.json";

$lastUpdate = filemtime($saTicketDataFile);
$tickets = json_decode(file_get_contents($saTicketDataFile), true);
uasort($tickets, function($a, $b) {
    return $a['open_date'] < $b['open_date'];
});
$page = 'special_attention_tickets';
include(__DIR__.'/tpl/tickets.html');
